package com.gxa.admin.recycling.mapper;

import com.gxa.core.recycling.pojo.Admin;
import com.gxa.core.recycling.pojo.Menu;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @author R
 * @data 2021-12-03 10:43
 */
public interface AdminMapper extends Mapper<Admin> {

    List<Map<String,Object>> getAllByPage(String nickName,String name,String from,String to,Integer page,Integer size);

    Integer getRoleById();

    String getRoleNameById(Integer id);



    Admin loginByPwd(String nickName,String pwd);
}
